Sleep measurements using an under-mattress sensor